package com.yunban.project.api.text_check.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.security.PrivateKey;
import java.time.LocalDateTime;

/**
 * @author: lijiajun
 * @date: 2025-02-17
 * @version: 1.0
 */
@Data
@Schema(description = "文本润色记录")
public class ContentPolishRecord implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;
    private String text;
    private String polishedText;
    private String remark;
    private boolean finished = false;
    @TableField(fill = FieldFill.INSERT)
    private long createdBy;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
}